package com.richpay.basejava.base11;

public class AbstractDemo {
    public static void main(String[] args){
        Animal animal=new Dog();
        animal.eat();
        animal.sleep();
        animal.drink();
    }
}
